package com.comac.tasks.manager.app.command.query;

import com.alibaba.cola.dto.SingleResponse;
import com.comac.tasks.manager.app.domain.gateway.TasksManagerGateway;
import com.comac.tasks.manager.app.dto.TasksManagerDetailsQry;
import com.comac.tasks.manager.app.dto.TasksManagerVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author wfb
 * @date 2021年12月16日11:48:43
 */
@Component
public class TasksManagerDetailsQryExe
{

    @Autowired
    private TasksManagerGateway tasksManagerGateway;

    public SingleResponse <TasksManagerVO> execute(TasksManagerDetailsQry detailsQry ) {

       return tasksManagerGateway.selectDetailsById(detailsQry);
    }
}
